@header-height: 64px;
@footer-height: 70px;
@import 'ant-design-vue/es/style/themes/default.less';

#app,
#root {
  width: 100%;
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout.layout-basic {
  height: 100vh;
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

// 数据列表 样式
.table-alert {
  margin-bottom: 16px;
}
// 数据列表 操作
.table-operator {
  margin-bottom: 18px;

  button {
    margin-right: 8px;
  }
}
// 数据列表 搜索条件
.table-page-search-wrapper {
  .ant-form-inline {
    .ant-form-item {
      display: flex;
      margin-bottom: 24px;
      margin-right: 0;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }

      > .ant-form-item-label {
        line-height: 32px;
        padding-right: 8px;
        width: auto;
      }
      .ant-form-item-control {
        height: 32px;
        line-height: 32px;
      }
    }
  }

  .table-page-search-submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

.et-card {
  border-radius: 5px;
  background: #fff;
  padding: 18px 20px;
  box-sizing: border-box;
  .et-title {
    width: 100%;
    height: 59px;
    font-size: 18px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #303133;
    line-height: 59px;
    margin-top: -17px;
    border-bottom: 2px solid #e5e7ed;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.modal-main {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  table {
    td {
      border: #e5e7ed solid 1px;
      min-width: 71px;
      height: 48px;
      font-size: 14px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #303133;
      line-height: 20px;
      padding: 0 10px;
      box-sizing: border-box;
      img {
        width: 24px;
        height: 24px;
        margin-left: 5px;
      }
    }
    .item-td {
      background: #edf1f5;
      font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
      font-weight: bold;
    }
  }
}

.searcher {
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  border-bottom: 1px solid #ebebe8;
}
.table_main {
  width: 100%;
  background: #fff;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.search-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.advancer {
  margin-left: 15px;
  color: #333;
  cursor: pointer;
}

.modal-form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
  span {
    display: inline-block;
    width: 100px;
    text-align: center;
  }
}

.table-link {
  color: #426bff;
  cursor: pointer;
  &:hover {
    text-decoration: underline;
  }
}

.text_title {
  width: 100%;
  height: 44px;
  background: #e9f6fe;
  text-align: left;
  font-size: 18px;
  font-family: PingFangSC-Semibold, PingFang SC;
  font-weight: 600;
  color: #333;
  line-height: 44px;
  padding-left: 20px;
  border-left: 8px solid #426bff;
  margin-bottom: 20px;
}

.searcher {
  .form-item {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    .label {
      height: 25px;
      font-size: 14px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #333;
      line-height: 25px;
    }
  }
}
.u-container {
  padding: 20px;
  background: #fff;
}

.select-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.search-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .form-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    .form-item {
      flex: 1;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: space-evenly;
      .label {
        height: 25px;
        font-size: 14px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #303133;
        line-height: 25px;
      }
    }
  }
}

.add-btn {
  width: 32px;
  height: 32px;
  margin-left: 10px;
  border: 1px solid #ced0d5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ced0d5;
  font-size: 20px;
  cursor: pointer;
}

.text-center {
  text-align: center;
}

.padding-sm {
  padding: 5px;
}

@keyframes loading-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -40px;
  }
  to {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -120px;
  }
}
@keyframes loading-rotate {
  to {
    transform: rotate(1turn);
  }
}
